package com.wangshidai.entity;

public class Dept {   //对应dept表
    private Integer  did ;
    private String deptName;
    private String address;


    public Dept() {
    }

    public Dept(Integer did, String deptName, String address) {
        this.did = did;
        this.deptName = deptName;
        this.address = address;
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Dept{" +
                "did=" + did +
                ", deptName='" + deptName + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
